import Vue from 'vue';
import VueRouter from 'vue-router';
import Mint from 'mint-ui'

Vue.use(VueRouter);
Vue.use(Mint);

import App from './App.vue';
import login from './components/account/login.vue';
import register from './components/account/register.vue';

import 'mint-ui/lib/style.min.css';

var router = new VueRouter({
    routes: [{
        path: '/login',
        component: login
    }, {
        path: '/register',
        component: register
    }]
})

new Vue({
    el: '#app',
    router,
    render: create=>create(App)
});